<?php
require_once 'inc/book.class.php';
$book = new book(100, "《php面向对象开发》", 15);

$book->setPrice(88);
//如果声明了魔术方法__toString();,就可以直接输出
//echo $book;

echo $book->getPrice();
